'make more-clean' (mkmoreclean) deletes all files listed in .cvsignore files.
git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@2250
f51c46e8-681c-474f-0cfe-
069cfd0219fb
clean:
rm -f $(OBJS) gpsbabel gpsbabel.exe
+more-clean: clean
+ tools/mkmoreclean
+
check:
./testo
--- /dev/null
+#!/bin/sh
+
+#
+# delete all files listed in .cvsignore
+#
+
+find . -type d |
+while read dirname; do
+ test -s "$dirname/.cvsignore" || continue
+ while read filemask; do
+ test -z "$filemask" && continue
+ cmd="rm -fv $dirname/$filemask"
+ ${cmd}
+ done < "$dirname/.cvsignore"
+done